﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>无标题页</title>
    <script language="javascript" type="text/javascript">
    function InitControl()
    {
     var  imageControlGY=document.getElementById("imageControlGY");
     var strErrorMessage="";
    strErrorMessage= imageControlGY.InitControl("C:\\ImgFiles\\Temp",
     420,
     500,
     1600,
     1200,
     800,
     600,
     "C:\\Windows\\System32\\PandaCameraLibraryDLL.dll");
     
       alert(strErrorMessage);
     
     
    }
    
    function ResetControl()
    {
       var  imageControlGY=document.getElementById("imageControlGY");
       var strErrorMessage="";
       strErrorMessage=imageControlGY.ResetControl();
     
        alert(strErrorMessage);
       
    }
    function GetCheckedImageList()
    {
       var  imageControlGY=document.getElementById("imageControlGY");
       var strImages=imageControlGY.GetCheckedImageList();
       alert(strImages);
    }
    </script>
</head>
<body>
<object id="imageControlGY" classid="CLSID:FE2FE30F-FF9E-4BB3-839B-88BDF25E9584" width="800" height="600"></object><br />
<input type="button" value="初始化" id="btnInit" onclick="InitControl()"/>
<input type="button" value="重置" id="btnReset" onclick="ResetControl()" />
<input type="button" value="btnGetCheckedImageList" id="btnGetCheckedImageList" onclick="GetCheckedImageList()" />
</body>
</html>
